<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2020/5/24
  Time: 12:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="java.util.*" contentType="text/html;charset=UTF-8" language="java" %>
<%
    request.setCharacterEncoding("utf-8");
    String username = "";
    String password = "";
    username = request.getParameter("username");
    password = request.getParameter("password");


    if("Violet".equals(username) && "7777777".equals(password)){
        request.getRequestDispatcher("success.jsp").forward(request,response);
    }
    else{
        response.sendRedirect("fail.jsp");
    }
%>
